package com.example.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * SuppliesType entity
 * 2020-08-27 18:59
 */
@Data
@Accessors(chain = true)
public class PocEvent implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableId(value = "event_id", type = IdType.ID_WORKER_STR)
	private String eventId;
	private String eventName;
	private Long eventType;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private Long isValid;
	private String createBy;
	private String userTel;
	private String userName;
	private String groupName;
	private String eventDescribe;
	private String eventLongitude;
	private String eventLatitude;
	private Long eventStatus;
	private String remark;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
}
